package com.domespringcloudapi.service;

import com.domespringcloudapi.entity.StudentEntity;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import java.util.List;

@Component
@FeignClient(value = "DOMESPRINGCLOUD-PRIVIDER-8001")
public interface IStudent {
    @GetMapping("/get")
    List<StudentEntity> get();
}
